package com.cdck.safe.dete.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Set;

/**
 * 用户登录视图对象
 *
 * @author haoxr
 * @since 2022/1/14
 */
@ApiModel(value ="当前登录用户视图对象")
@Data
public class UserInfoVO {

    @ApiModelProperty(value="用户ID")
    private Long userId;

    @ApiModelProperty(value="用户昵称")
    private String nickname;

    @ApiModelProperty(value="头像地址")
    private String avatar;

    @ApiModelProperty(value="用户角色编码集合")
    private Set<String> roles;

    @ApiModelProperty(value="用户权限标识集合")
    private Set<String> perms;

}
